
import './assets/main.css'
import { createApp } from 'vue'
import store from './store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import mitt from 'mitt'
const eventBus =mitt()

const apps = createApp(App)


// 将 eventBus 挂载到全局属性上
apps.config.globalProperties.$bus = eventBus;

apps.use(store)
apps.use(ElementPlus)

apps.mount('#app')




